/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.sys.entity.currency;

import com.thinkgem.jeesite.modules.hk.sys.entity.user.HkUser;
import org.hibernate.validator.constraints.Length;
import java.util.List;
import com.google.common.collect.Lists;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 系统反馈Entity
 * @author 李欣荣
 * @version 2018-09-30
 */
public class HkUserFeedback extends DataEntity<HkUserFeedback> {
	
	private static final long serialVersionUID = 1L;
	private HkUser user;		// 用户id
	private String content;		// 内容
	private String state;		// 状态
	private List<HkUserFeedbackImg> hkUserFeedbackImgList = Lists.newArrayList();		// 子表列表
	
	public HkUserFeedback() {
		super();
	}

	public HkUserFeedback(String id){
		super(id);
	}

	public HkUser getUser() {
		return user;
	}

	public void setUser(HkUser user) {
		this.user = user;
	}
	
	@Length(min=0, max=100, message="内容长度必须介于 0 和 100 之间")
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	@Length(min=0, max=1, message="状态长度必须介于 0 和 1 之间")
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
	
	public List<HkUserFeedbackImg> getHkUserFeedbackImgList() {
		return hkUserFeedbackImgList;
	}

	public void setHkUserFeedbackImgList(List<HkUserFeedbackImg> hkUserFeedbackImgList) {
		this.hkUserFeedbackImgList = hkUserFeedbackImgList;
	}
}